package com.example.learn.hwod;

import java.util.Arrays;
import java.util.Scanner;

public class _14分苹果 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] weights = new int[n];
        for (int i = 0; i < n; i++) {
            weights[i] = sc.nextInt();
        }
        Arrays.sort(weights);
        int fault = weights[0];
        int correct = weights[0];
        
    }
}
